package com.bct.jxc.server.impl;

import java.util.List;

import com.bct.jxc.dao.SaleDao;
import com.bct.jxc.model.SaleInfo;
import com.bct.jxc.model.Sales;
import com.bct.jxc.server.SaleServer;

public class SaleServerImpl implements SaleServer{
	SaleDao saleDao = new SaleDao();

	@Override
	public boolean add(Sales t) {
		return saleDao.add(t);
	}

	@Override
	public String getId() {
		return saleDao.getId();
	}

	@Override
	public List<SaleInfo> findAll(SaleInfo saleInfo) {
		return saleDao.findAll(saleInfo);
	}

}
